<?php echo $this->Session->flash(); ?>
<div id="loading" style="display: none;">
    <?php echo $html->image('loading.gif', array('border' => "0", 'align' => 'center')); ?>
</div>
<h2>Observación</h2>
<?php
echo $form->create('EvaluationConstraintReview');
?>
<?php echo $form->input("EvaluationConstraintReview.comentario", array('label' => 'Comentario', 'class' => 'txtarea')); ?>
<?php echo $form->input('EvaluationConstraintReview.fecha', array('label' => 'Fecha', 'type' => 'text', 'class' => 'calendario')); ?>
<?php echo $form->hidden("EvaluationConstraintReview.evaluation_constraint_id", array('value' => $evaluation_constraint_id)); ?>
<?php
echo $ajax->submit('Guardar', array('url' => array('controller' => 'EvaluationConstraintReviews', 'action' => 'add', $evaluation_constraint_id), 'update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading'));
echo $form->end();
?>
<br>
<br>
<?php
echo $ajax->link($html->image('regresar.gif', array('width' => '30', 'heigth' => '30', 'alt' => 'Regresar', 'title' => 'regresar')), array('controller' => 'EvaluationConstraintReviews', 'action' => 'index', $evaluation_constraint_id), array('update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading', 'escape' => false));
?>